
<template>
  
    <van-config-provider :theme-vars="themeVars">
        
        <div class="sdy-header"></div>
        <sdycontainer></sdycontainer>
        
        <div id="sdy-footer">
            <sdyFoot v-if="!$route.meta.hidFooter"></sdyFoot>
   
        </div>
    </van-config-provider>
 
  
</template>

<script setup lang="ts">
import { themeVars } from '@/config/theme'
import { Dialog } from 'vant';
import { onMounted } from 'vue';
//导入指定组件
import sdyHeader from '@/views/sdyHeader/index.vue'
import sdyFoot from '@/views/sdyFoot/index.vue'
import sdycontainer from '@/views/sdycontainer/index.vue'
import { useRoute } from 'vue-router'
import type {RouteLocationNormalizedLoaded} from 'vue-router'
    const $route:RouteLocationNormalizedLoaded = useRoute()
    // console.log($route)

onMounted(() =>{
    Dialog.alert({
        title: '提示',
        message:'页面已经打开， 欢迎光临'
    })
})






</script>

<style scoped lang="scss">

</style>
